Text File | 1998-10-23 | 871 b | 24 lines | [TEXT/ScoM]
mix-tonality t1 t2
Mixes two tonalities appending all new notes of t2 at the end of t1. If you have a scale '(a b c d e f g h) it will first play t1 and then t2. Use sort-tonality if tonalities are needed to be fully mixed.
(mix-tonality (activate-tonality (c maj 1 1))
(activate-tonality (d min 1 3)))
--> ((c 5 e 6 g 6 c 7 f 5 d 6 a 6 d 7))
(sort-tonality
(mix-tonality (activate-tonality (c maj 1 1))
(activate-tonality (d min 1 3))))
--> ((c 5 f 5 d 6 e 6 g 6 a 6 c 7 d 7))
Tonalities may have any number of items, and they are repeated if some or the other tonality list has more items.
(sort-tonality
(mix-tonality
(activate-tonality (c maj 1 1) (d min 1 3) (e min 1 3))